package com.biodiv.common.message;


/**
 * @author 天权
 */
public abstract class AbstractResponseMessage extends Message {
    private boolean success;
    private Object reason;

    public AbstractResponseMessage() {
    }

    public AbstractResponseMessage(boolean success, Object reason) {
        this.success = success;
        this.reason = reason;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Object getReason() {
        return reason;
    }

    public void setReason(Object reason) {
        this.reason = reason;
    }

}
